package cn.exrick.xboot.modules.activiti.service.business;

import cn.exrick.xboot.base.XbootBaseService;
import cn.exrick.xboot.modules.activiti.entity.business.MatterTemplate;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import cn.exrick.xboot.common.vo.SearchVo;

import java.util.List;

/**
 * 事项流转接口
 * @author lihuan
 */
public interface MatterTemplateService extends XbootBaseService<MatterTemplate,String> {

    /**
    * 多条件分页获取
    * @param matterTemplate
    * @param searchVo
    * @param pageable
    * @return
    */
    Page<MatterTemplate> findByCondition(MatterTemplate matterTemplate, SearchVo searchVo, Pageable pageable);
}